﻿using ProjScan.RecordManager;
using ProjScan.RecordManager.AssetData;
using ProjScan.ScanRule.Attr;
using UnityEngine;

namespace ProjScan.ScanRule.ProjectAssets.Texture2D
{
    [TextureRuleAttr]
    internal class Texture_FilterMode : RecordRuleImp<TextureAssetData, TextureRecordManager>
    {
        protected override bool IsOK(TextureAssetData assetData)
        {
            return assetData.filterMode != FilterMode.Trilinear;
        }
    }
}